var d = date_form.replace(/(d+)-(d+)-(d+)/, '$3.$2.$1')
$text = iconv(mb_detect_encoding($det, mb_detect_order(), true), "UTF-8", $det);